list1 = [10, 20, 30]
print(list1[0])
print(list1[1])
print(list1[2])

list1.append(40)
print(list1)

del list1[1]
print(list1)

list1[0] = 100
print(list1)
print(str(list1))

for i in list1:
    print(i)